python 字符串是否包含某個子字符串 方法如下:以后再整理 if str1 in str2: 包含的話,True if str1.find(str2)>=0: 包含的話,返回第一次出現的位置,沒有的話為負數 htt ...